package com.wngbms.multidatasource;

import com.wngbms.multidatasource.spi.SystemInfo;

import java.util.ServiceLoader;

public class T {

    public static void main(String[] args) {
        ServiceLoader<SystemInfo> loader = ServiceLoader.load(SystemInfo.class);

        for (SystemInfo systemInfo : loader) {
            systemInfo.tipInfo();
        }
    }

}
